<template>
  <div class="Container">
     Childen_Home
     <button @click="toFather">主应用</button>
  </div>
</template>

<script  lang="ts">
import { defineComponent,  } from 'vue'
import { useRouter } from 'vue-router'
export default defineComponent({
  setup () {
    const router = useRouter()
    const toFather = () => {
      window.location.href = '/' 
    }

    return {
      toFather
    }
  }
})

</script>

<style lang="scss" scoped>
.Container{
    width: 100%;
    height: 100%;
    // border: 1px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>
